﻿using Hotel.Application.Admins.Dto;
using Hotel.Application.DicTypes.Dto;
using Hotel.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Application.DicTypes
{
    public interface IDicTypeService : IBaseService<DicType, DicTypeCreateUpdateDto, DicTypeListDto>
    {
        /// <summary>
        /// 判断是否存在字典项
        /// </summary>
        /// <param name="UserName"></param>
        /// <returns></returns>
        Task<ResultDto<bool>> CheckName(string TypeName, string TypeCode, long TypeId);
    }
}
